package com.ostrich.cloud.ostrichGoodsService.service;

import com.ostrich.cloud.common.result.PageResult;
import com.ostrich.cloud.ostrichGoodsSercice.model.Dto.GrounpGoodsDto;
import com.ostrich.cloud.ostrichGoodsService.infra.model.GrounpGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ostrich.cloud.ostrichGoodsService.service.param.AddGrounpParam;

/**
 * <p>
 * 拼团商品表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2022-11-03
 */
public interface GrounpGoodsService extends IService<GrounpGoods> {

    GrounpGoods addGrounpGoods(AddGrounpParam addGrounpParam);

    PageResult<GrounpGoodsDto> selectGrounpGoods(Integer current, Integer size);
}
